mex -lopencv_core242 -lopencv_imgproc242 -L"C:\Program Files\OpenCV-2.4.2\build\x64\vc10\lib" -I"C:\Program Files\OpenCV-2.4.2\build\include" mexResize.cpp MxArray.cpp